package com.flyco.modules.stm.vo;

import java.util.List;
import com.flyco.modules.stm.entity.StmTransfer;
import com.flyco.modules.stm.entity.StmTransferItem;
import lombok.Data;
import com.flyco.poi.excel.annotation.Excel;
import com.flyco.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * @Description: 门店调拨单
 * @Author: flyco
 * @Date:   2020-10-30
 * @Version: V1.0
 */
@Data
@ApiModel(value="stm_transferPage对象", description="门店调拨单")
public class StmTransferPage {

	/**id*/
	private Long id;
	/**收货店铺id*/
  	@Excel(name = "收货店铺id", width = 15)
	private Long inStoreId;
	/**发货店铺id*/
  	@Excel(name = "发货店铺id", width = 15)
	private Long outStoreId;
	/**调拨单编号*/
  	@Excel(name = "调拨单编号", width = 15)
	private String transferSn;
	/**订单状态(0：已创建，1：已提交，2：收货审核，3：发货审核，4:已取消，5：已发货，6：已收货)*/
  	@Excel(name = "订单状态(0：已创建，1：已提交，2：收货审核，3：发货审核，4:已取消，5：已发货，6：已收货)", width = 15)
	private Integer status;
	/**期望到货时间*/
  	@Excel(name = "期望到货时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date receiveTime;
	/**发货时间*/
  	@Excel(name = "发货时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date stockOutTime;
	/**收货时间*/
  	@Excel(name = "收货时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date stockInTime;
	/**收货店铺审核ID*/
  	@Excel(name = "收货店铺审核ID", width = 15)
	private Long confirmInSalesId;
	/**收货店铺审核时间*/
  	@Excel(name = "收货店铺审核时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date confirmInTime;
	/**发货店铺审核ID*/
  	@Excel(name = "发货店铺审核ID", width = 15)
	private Long confirmOutSalesId;
	/**发货店铺审核时间*/
  	@Excel(name = "发货店铺审核时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date confirmOutTime;
	/**备注*/
  	@Excel(name = "备注", width = 15)
	private String note;
	/**创建人*/
  	@Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建时间*/
  	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**更新人*/
  	@Excel(name = "更新人", width = 15)
	private String updateBy;
	/**更新时间*/
  	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;

	@ExcelCollection(name="门店调拨单明细")
	@ApiModelProperty(value = "门店调拨单明细")
	private List<StmTransferItem> stmTransferItemList;
	
}
